﻿using Basic.FlowApplication.Interface;
using Basic.FlowRemoteModel.Application;
using Basic.FlowRemoteModel.Application.Model;
using WeDonekRpc.Client.Interface;

namespace Basic.FlowApplication.RpcEvent
{
    internal class CurAuditNodeEvent : IRpcApiService
    {
        private readonly IAuditCurrentNodeService _Service;

        public CurAuditNodeEvent ( IAuditCurrentNodeService service )
        {
            this._Service = service;
        }

        public AuditNodeLog GetCurentNode ( GetCurentNode obj )
        {
            return this._Service.GetCurentNode(obj.Id, obj.EmpId);
        }
    }
}
